package org.jeecg.demo.wx.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.jeecg.demo.wx.entity.Meeting;
import org.jeecg.demo.wx.mapper.MeetingMapper;
import org.jeecg.demo.wx.service.IMeetingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;



@Service
@DS("oa")
public class MeetingServiceImpl extends ServiceImpl<MeetingMapper, Meeting> implements IMeetingService {
    @Autowired
    private MeetingMapper meetingMapper;

    /**
     * 查询oa数据
     * @param today
     * @return
     */
    @Override
    public List<Meeting> queryMeetingData(String today) {
        // TODO: 2023/5/31 多数据源选择
        return meetingMapper.queryMeetingData(today);
    }

}
